package com.hx.springboot928.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import sun.tracing.dtrace.DTraceProviderFactory;

/**
 * @author: 若若叶
 * @date: 2021/9/28 16:44 FileName: Dept Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@ConfigurationProperties("dept")
public class Dept {
  private String name;
  private Integer age;
}
